package com.gxa.mapper;

import com.gxa.param.OrderParam;
import com.gxa.pojo.Contract;
import com.gxa.pojo.Dept;
import com.gxa.pojo.Goods;
import com.gxa.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {



    List<Order> findAll(@Param("param") OrderParam param);


    void deleteAll(@Param("ids") String[] ids);

    Order findById(@Param("id") Integer id);


    List<Goods> findAllGoods();

    int add(@Param("order") Order order);

    Double findTotal(@Param("id")Integer id);

    List<Integer> findCusId();


}
